<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<%
	BoardProc board = new BoardProc();
	ArrayList noticeList = board.getBoardList("4",1,SoptVars.PAGE_SIZE_NOTICE);
	ArrayList communityList = board.getBoardListByType("2",1,SoptVars.PAGE_SIZE_NOTICE);
    
%>
<%@page import="java.util.ArrayList"%>
<%@page import="styledaco.board.BoardProc"%>
<%@page import="comm.util.SoptHashMap"%>

<%@page import="statics.SoptVars"%><script type="text/javascript">
$(document).ready(function(){
	getStyleCoverFlow();
});
	
</script>
<div id="firstIssueCoverFlowLayer">
	<div id="firstIssueCoverFlow"></div>
</div>
<div>
	<div class="firstContentBoards">
		<h2>
			<a href="<%=request.getContextPath()%>/Notice">
				<img src="<%=request.getContextPath()%>/images/headerMainNotice.png" title="Notice"/>
			</a>
		</h2>
		<ul>
			<%if(noticeList!=null && noticeList.size()>0){
				for(int i=0;i<noticeList.size();i++){
					SoptHashMap curArticle = (SoptHashMap)noticeList.get(i);%>
					<li><%=curArticle.get("BOARD_TITLE") %><%=curArticle.get("BOARD_REGDATE") %></li>
				<%} %>
			<%} %>
		</ul>
	</div>
	<div class="firstContentBoards">
		<h2>
			<a href="<%=request.getContextPath()%>/Notice">
				<img src="<%=request.getContextPath()%>/images/headerMainNews.png" title="News"/>
			</a>
		</h2>
		<ul>
			<%if(communityList!=null && communityList.size()>0){
				for(int i=0;i<communityList.size();i++){
					SoptHashMap curArticle = (SoptHashMap)communityList.get(i);%>
					<li><%=curArticle.get("BOARD_TITLE") %><%=curArticle.get("BOARD_REGDATE") %></li>
				<%} %>
			<%} %>
		</ul>
	</div>
	<div class="clear"></div>
</div>